package com.ws.bean;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Routes {
    private Integer route_id;//路线id
    private Integer supplier_id;//供应商id
    private Integer theme_id;//主题id
    private Integer categorie_id;//分类id
    private String route_name;//路线名称
    private String route_content;//路线描述
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date route_start_date;//出发时间
    private int route_tianShu;//行程天数
    private String route_start_place;//出发地
    private String route_end_place;//目的地
    private String route_image;//路线图片
    private int collection_num;//收藏数量
    private int route_price; //线路价钱
    private int is_banner;//是否轮播
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date create_time;//创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date update_time;//修改时间
    private int is_delete;//逻辑删除


    //供应商
    private Suppliers suppliers;
    //主题
    private Themes themes;
    //分类
    private Categories categories;
}
